<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>卡斯基车务</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../../css/common.css" />
    <link rel="stylesheet" href="../../../css/yewuyuan/shouye/yewuyuan_shouye_search.css" />
    <script type="text/javascript" src="../../../lib/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="../../../lib/underscore.js"></script>
    <script type="text/javascript" src="../../../lib/global.js"></script>
    <script type="text/javascript" src="../../../lib/iscroll.js"></script>
    <script type="text/javascript" src="../../../js/zuzhang/shouye/zuzhang_shouye_search.js"></script>
</head>
<body>
<div class="mainContainer">
    <div class="search">
        <div class="search_input radius_small">
            <img src="../../../images/search.png"/>
            <input type="text" placeholder="搜索" id="searchInput">
        </div>
    </div>
    <div class="order_list" id="being_process">
        <script type="text/template">
            <div>
                <ul>
                    <%for(var i in data){%>
                    <%var item = data[i];%>
                    <%var makeTime = new Date(data[i].makeTime.replace(/-/g,'/')).getTime(); %>
                    <%var mins = parseInt((new Date().getTime() - makeTime)/1000/60);%>
                    <%var p = ''%>
                    <%if(mins < 60){%>
                    <%p = mins + '分钟前发布'%>
                    <%}else if(mins > 60 && mins < 1440){%>
                    <%p = parseInt(mins/60) + '小时前发布'%>
                    <%}else{%>
                    <%p = parseInt(mins/1440) + '天前发布'%>
                    <%}%>
                    <li class="time_limit_half">
                        <div class="step_name">
                            <span class="font14 color4e4 step"><%=item.taskName%></span>
                            <span class="font12 color17d pick">可接取</span>
                        </div>
                        <div class="car_information">
                            <span class="font12 color9a9 car1"><%=item.carPlateNum%></span>
                            <span class="font12 color9a9 car2"><%=item.carColor%></span>
                            <span class="font12 color9a9 car3"><%=item.carBrand%></span>
                            <span class="font12 color796 car5"><%=p%></span>
                        </div>
                        <div class="car_information_1">
                            <span class="font12 color9a9">发动机号:</span>
                            <span class="font12 color9a9"><%=item.carEngineNum%></span>
                            <span class="font12 color9a9 car6">车架号:</span>
                            <span class="font12 color9a9"><%=item.carChassisNum%></span>
                        </div>
                    </li>
                    <%}%>
                </ul>
            </div>
        </script>
    </div>
</div>

</body>
</html>
